package com.onlinexam.dao;

import com.onlinexam.pojo.GradeInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GradeInfoMapper {
    public List<GradeInfo> getGrades();//获得所有年级
    public GradeInfo getGradeByid(int gradeId);//根据编号获得年级
    public int isAddGrade(GradeInfo grade);//添加年级
    public int isDelGrade(int grade);//删除年级
    public int isUpdate(GradeInfo grade);//修改年级



}
